package com.csi.service;

import com.csi.domain.User;
import org.springframework.web.multipart.MultipartFile;

public interface UserService {
    User findByUsername(String username);

    User login(String username, String password);

    boolean reg(User user, MultipartFile photo);

    User getUser(long userId);
}
